import Vue from 'vue'
import APP from './components/App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router/index.js'
Vue.use( ElementUI)

new Vue({
  el:'#app',
  router,//变量名和属性相同 可以写一个
  template:'<div><APP></APP></div>',
  components:{
    APP
  }
})